package com.cky.forum.services;

import com.cky.forum.model.Board;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IBoardService {
    List<Board> selectByNum( Integer num);
    //更新板块中的帖子数量
    void addOneArticleCountById(Long id);
    Board selectByPrimaryKey(@Param("id") Long id);
    public void subOneArticleCountById(Long id);
}
